﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models {
    import flash.events.*;
    import net.wooga.pets.constants.*;
    import org.robotlegs.mvcs.*;

    public class SessionModel extends Actor {

        private var _timestamp:Number;
        private var _session_id:String;// = ""
        private var _inventoryItems:Array;
        private var _batteryRoomItems:Array;
        private var _savepoints:Array;
        private var _currentRooms:Array;
        private var _roomTypes:Array;
        private var _availableRoomTypes:Array;
        private var _patientTypes:Array;
        private var _availablePatientTypes:Array;
        private var _currentPets:Array;
        private var _currentAvatar:Object;
        private var _data:Object;
        private var _levelInfo:Object;
        private var _abTest:String;// = ""
        private var _variant:String;// = ""
        private var _viewIsReady:Boolean;
        private var _readLetters:Array;
        private var _hasFountain:Boolean;
        private var _doctorMealDuration:int;
        private var _babyHugDuration:int;
        private var _requestLimits:Object;
        private var _authToken:String;
        private var _apiKey:String;
        private var _surprisePackages:Array;
        private var _isWaitingQueueMode:Boolean;
        private var _viewedDiseaseStorys:Array;

        public function SessionModel(){
            this._requestLimits = {};
            super();
            this.initialize();
        }
        private function initialize():void{
            this._roomTypes = [];
            this._availableRoomTypes = [];
            this._patientTypes = [];
            this._availablePatientTypes = [];
            this._currentRooms = [];
            this._currentPets = [];
            this._batteryRoomItems = [];
        }
        public function get currentAvatar():Object{
            return (this._currentAvatar);
        }
        public function set currentAvatar(_arg1:Object):void{
            this._currentAvatar = _arg1;
        }
        public function resetForSwitchingHospital():void{
            this.initialize();
        }
        public function get currentRooms():Array{
            return (this._currentRooms);
        }
        public function set currentRooms(_arg1:Array):void{
            this._currentRooms = _arg1;
        }
        public function get currentPets():Array{
            return (this._currentPets);
        }
        public function set currentPets(_arg1:Array):void{
            this._currentPets = _arg1;
        }
        public function get roomTypes():Array{
            return (this._roomTypes);
        }
        public function set roomTypes(_arg1:Array):void{
            this._roomTypes = _arg1;
        }
        public function get availableRoomTypes():Array{
            return (this._availableRoomTypes);
        }
        public function set availableRoomTypes(_arg1:Array):void{
            this._availableRoomTypes = _arg1;
        }
        public function get patientTypes():Array{
            return (this._patientTypes);
        }
        public function set patientTypes(_arg1:Array):void{
            this._patientTypes = _arg1;
        }
        public function get timestamp():Number{
            return (this._timestamp);
        }
        public function set timestamp(_arg1:Number):void{
            this._timestamp = _arg1;
        }
        public function get session_id():String{
            return (this._session_id);
        }
        public function set session_id(_arg1:String):void{
            this._session_id = _arg1;
        }
        public function get inventoryItems():Array{
            return (this._inventoryItems);
        }
        public function set inventoryItems(_arg1:Array):void{
            this._inventoryItems = _arg1;
        }
        public function get slotMachineInventoryItems():Array{
            return (this._batteryRoomItems);
        }
        public function set slotMachineInventoryItems(_arg1:Array):void{
            this._batteryRoomItems = _arg1;
        }
        public function get savepoints():Array{
            return (this._savepoints);
        }
        public function set savepoints(_arg1:Array):void{
            this._savepoints = _arg1;
        }
        public function get data():Object{
            return (this._data);
        }
        public function set data(_arg1:Object):void{
            this._data = _arg1;
        }
        public function get levelInfo():Object{
            return (this._levelInfo);
        }
        public function set levelInfo(_arg1:Object):void{
            this._levelInfo = _arg1;
        }
        public function get abTest():String{
            return (this._abTest);
        }
        public function set abTest(_arg1:String):void{
            this._abTest = _arg1;
        }
        public function get variant():String{
            return (this._variant);
        }
        public function set variant(_arg1:String):void{
            this._variant = _arg1.toUpperCase();
        }
        public function get viewIsReady():Boolean{
            return (this._viewIsReady);
        }
        public function set viewIsReady(_arg1:Boolean):void{
            this._viewIsReady = _arg1;
        }
        public function set readLetters(_arg1:Array):void{
            this._readLetters = _arg1;
        }
        public function get readLetters():Array{
            return (this._readLetters);
        }
        public function get hasFountain():Boolean{
            return (this._hasFountain);
        }
        public function set hasFountain(_arg1:Boolean):void{
            if (this._hasFountain != _arg1){
                this._hasFountain = _arg1;
                dispatch(new Event(EventConstants.HAS_FOUNTAIN));
            };
        }
        public function get doctorMealDuration():int{
            return (this._doctorMealDuration);
        }
        public function set doctorMealDuration(_arg1:int):void{
            this._doctorMealDuration = _arg1;
        }
        public function set requestLimits(_arg1:Object):void{
            this._requestLimits = ((_arg1) || ({}));
        }
        public function setRequestLimit(_arg1:String, _arg2:Boolean):void{
            this._requestLimits[_arg1] = _arg2;
        }
        public function getRequestLimit(_arg1:String):Boolean{
            return (this._requestLimits[_arg1]);
        }
        public function get authToken():String{
            return (this._authToken);
        }
        public function set authToken(_arg1:String):void{
            this._authToken = _arg1;
        }
        public function get apiKey():String{
            return (this._apiKey);
        }
        public function set apiKey(_arg1:String):void{
            this._apiKey = _arg1;
        }
        public function get babyHugDuration():int{
            return (this._babyHugDuration);
        }
        public function set babyHugDuration(_arg1:int):void{
            this._babyHugDuration = _arg1;
        }
        public function set surprisePackages(_arg1:Array):void{
            this._surprisePackages = _arg1;
        }
        public function get surprisePackages():Array{
            return (this._surprisePackages);
        }
        public function get isWaitingQueueMode():Boolean{
            return (this._isWaitingQueueMode);
        }
        public function set isWaitingQueueMode(_arg1:Boolean):void{
            this._isWaitingQueueMode = _arg1;
        }
        public function get viewedDiseaseStorys():Array{
            return (this._viewedDiseaseStorys);
        }
        public function set viewedDiseaseStorys(_arg1:Array):void{
            this._viewedDiseaseStorys = _arg1;
        }

    }
}//package net.wooga.pets.models 
